﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CCPnuts.ISkyDiskFileSystem.Interfaces;
using HgCo.WindowsLive.SkyDrive;
using CCPnuts.Pack;
using CCPnuts.ISkyDiskFileSystem;

namespace SkyDiskFileSystem
{
    internal class SkyFile : SkyElement, I_SkyFile
    {
        private WebFileInfo m_info;

        internal SkyFile(I_SkyDirectory parent, WebFileInfo info)
            : base(PackedInfos.SkyFile, parent, info)
        {
            m_info = info;
        }

        #region I_SkyFile Members

        public long Size
        {
            get { return long.Parse(m_info.Size); }
        }

        #endregion
    }
}
